/*
 * XML Type:  Employee
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.Employee
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04.impl;
/**
 * An XML Employee(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public class EmployeeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.ofx.types.x2003.x04.Employee
{
    
    public EmployeeImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SSN$0 = 
        new javax.xml.namespace.QName("", "SSN");
    private static final javax.xml.namespace.QName FIRSTNAME$2 = 
        new javax.xml.namespace.QName("", "FIRSTNAME");
    private static final javax.xml.namespace.QName MIDDLENAME$4 = 
        new javax.xml.namespace.QName("", "MIDDLENAME");
    private static final javax.xml.namespace.QName LASTNAME$6 = 
        new javax.xml.namespace.QName("", "LASTNAME");
    private static final javax.xml.namespace.QName ADDR1$8 = 
        new javax.xml.namespace.QName("", "ADDR1");
    private static final javax.xml.namespace.QName ADDR2$10 = 
        new javax.xml.namespace.QName("", "ADDR2");
    private static final javax.xml.namespace.QName ADDR3$12 = 
        new javax.xml.namespace.QName("", "ADDR3");
    private static final javax.xml.namespace.QName CITY$14 = 
        new javax.xml.namespace.QName("", "CITY");
    private static final javax.xml.namespace.QName STATE$16 = 
        new javax.xml.namespace.QName("", "STATE");
    private static final javax.xml.namespace.QName POSTALCODE$18 = 
        new javax.xml.namespace.QName("", "POSTALCODE");
    private static final javax.xml.namespace.QName COUNTRYSTRING$20 = 
        new javax.xml.namespace.QName("", "COUNTRYSTRING");
    
    
    /**
     * Gets the "SSN" element
     */
    public java.lang.String getSSN()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SSN$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "SSN" element
     */
    public net.ofx.types.x2003.x04.GenericNameType xgetSSN()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(SSN$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "SSN" element
     */
    public void setSSN(java.lang.String ssn)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SSN$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SSN$0);
            }
            target.setStringValue(ssn);
        }
    }
    
    /**
     * Sets (as xml) the "SSN" element
     */
    public void xsetSSN(net.ofx.types.x2003.x04.GenericNameType ssn)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(SSN$0, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.GenericNameType)get_store().add_element_user(SSN$0);
            }
            target.set(ssn);
        }
    }
    
    /**
     * Gets the "FIRSTNAME" element
     */
    public java.lang.String getFIRSTNAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FIRSTNAME$2, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "FIRSTNAME" element
     */
    public net.ofx.types.x2003.x04.GenericNameType xgetFIRSTNAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(FIRSTNAME$2, 0);
            return target;
        }
    }
    
    /**
     * Sets the "FIRSTNAME" element
     */
    public void setFIRSTNAME(java.lang.String firstname)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FIRSTNAME$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FIRSTNAME$2);
            }
            target.setStringValue(firstname);
        }
    }
    
    /**
     * Sets (as xml) the "FIRSTNAME" element
     */
    public void xsetFIRSTNAME(net.ofx.types.x2003.x04.GenericNameType firstname)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(FIRSTNAME$2, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.GenericNameType)get_store().add_element_user(FIRSTNAME$2);
            }
            target.set(firstname);
        }
    }
    
    /**
     * Gets the "MIDDLENAME" element
     */
    public java.lang.String getMIDDLENAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MIDDLENAME$4, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "MIDDLENAME" element
     */
    public net.ofx.types.x2003.x04.GenericNameType xgetMIDDLENAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(MIDDLENAME$4, 0);
            return target;
        }
    }
    
    /**
     * True if has "MIDDLENAME" element
     */
    public boolean isSetMIDDLENAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(MIDDLENAME$4) != 0;
        }
    }
    
    /**
     * Sets the "MIDDLENAME" element
     */
    public void setMIDDLENAME(java.lang.String middlename)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MIDDLENAME$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MIDDLENAME$4);
            }
            target.setStringValue(middlename);
        }
    }
    
    /**
     * Sets (as xml) the "MIDDLENAME" element
     */
    public void xsetMIDDLENAME(net.ofx.types.x2003.x04.GenericNameType middlename)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(MIDDLENAME$4, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.GenericNameType)get_store().add_element_user(MIDDLENAME$4);
            }
            target.set(middlename);
        }
    }
    
    /**
     * Unsets the "MIDDLENAME" element
     */
    public void unsetMIDDLENAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(MIDDLENAME$4, 0);
        }
    }
    
    /**
     * Gets the "LASTNAME" element
     */
    public java.lang.String getLASTNAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LASTNAME$6, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "LASTNAME" element
     */
    public net.ofx.types.x2003.x04.GenericNameType xgetLASTNAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(LASTNAME$6, 0);
            return target;
        }
    }
    
    /**
     * Sets the "LASTNAME" element
     */
    public void setLASTNAME(java.lang.String lastname)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LASTNAME$6, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LASTNAME$6);
            }
            target.setStringValue(lastname);
        }
    }
    
    /**
     * Sets (as xml) the "LASTNAME" element
     */
    public void xsetLASTNAME(net.ofx.types.x2003.x04.GenericNameType lastname)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(LASTNAME$6, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.GenericNameType)get_store().add_element_user(LASTNAME$6);
            }
            target.set(lastname);
        }
    }
    
    /**
     * Gets the "ADDR1" element
     */
    public java.lang.String getADDR1()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADDR1$8, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "ADDR1" element
     */
    public net.ofx.types.x2003.x04.AddressType xgetADDR1()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AddressType target = null;
            target = (net.ofx.types.x2003.x04.AddressType)get_store().find_element_user(ADDR1$8, 0);
            return target;
        }
    }
    
    /**
     * True if has "ADDR1" element
     */
    public boolean isSetADDR1()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ADDR1$8) != 0;
        }
    }
    
    /**
     * Sets the "ADDR1" element
     */
    public void setADDR1(java.lang.String addr1)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADDR1$8, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ADDR1$8);
            }
            target.setStringValue(addr1);
        }
    }
    
    /**
     * Sets (as xml) the "ADDR1" element
     */
    public void xsetADDR1(net.ofx.types.x2003.x04.AddressType addr1)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AddressType target = null;
            target = (net.ofx.types.x2003.x04.AddressType)get_store().find_element_user(ADDR1$8, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.AddressType)get_store().add_element_user(ADDR1$8);
            }
            target.set(addr1);
        }
    }
    
    /**
     * Unsets the "ADDR1" element
     */
    public void unsetADDR1()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ADDR1$8, 0);
        }
    }
    
    /**
     * Gets the "ADDR2" element
     */
    public java.lang.String getADDR2()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADDR2$10, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "ADDR2" element
     */
    public net.ofx.types.x2003.x04.AddressType xgetADDR2()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AddressType target = null;
            target = (net.ofx.types.x2003.x04.AddressType)get_store().find_element_user(ADDR2$10, 0);
            return target;
        }
    }
    
    /**
     * True if has "ADDR2" element
     */
    public boolean isSetADDR2()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ADDR2$10) != 0;
        }
    }
    
    /**
     * Sets the "ADDR2" element
     */
    public void setADDR2(java.lang.String addr2)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADDR2$10, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ADDR2$10);
            }
            target.setStringValue(addr2);
        }
    }
    
    /**
     * Sets (as xml) the "ADDR2" element
     */
    public void xsetADDR2(net.ofx.types.x2003.x04.AddressType addr2)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AddressType target = null;
            target = (net.ofx.types.x2003.x04.AddressType)get_store().find_element_user(ADDR2$10, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.AddressType)get_store().add_element_user(ADDR2$10);
            }
            target.set(addr2);
        }
    }
    
    /**
     * Unsets the "ADDR2" element
     */
    public void unsetADDR2()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ADDR2$10, 0);
        }
    }
    
    /**
     * Gets the "ADDR3" element
     */
    public java.lang.String getADDR3()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADDR3$12, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "ADDR3" element
     */
    public net.ofx.types.x2003.x04.AddressType xgetADDR3()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AddressType target = null;
            target = (net.ofx.types.x2003.x04.AddressType)get_store().find_element_user(ADDR3$12, 0);
            return target;
        }
    }
    
    /**
     * True if has "ADDR3" element
     */
    public boolean isSetADDR3()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ADDR3$12) != 0;
        }
    }
    
    /**
     * Sets the "ADDR3" element
     */
    public void setADDR3(java.lang.String addr3)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADDR3$12, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ADDR3$12);
            }
            target.setStringValue(addr3);
        }
    }
    
    /**
     * Sets (as xml) the "ADDR3" element
     */
    public void xsetADDR3(net.ofx.types.x2003.x04.AddressType addr3)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AddressType target = null;
            target = (net.ofx.types.x2003.x04.AddressType)get_store().find_element_user(ADDR3$12, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.AddressType)get_store().add_element_user(ADDR3$12);
            }
            target.set(addr3);
        }
    }
    
    /**
     * Unsets the "ADDR3" element
     */
    public void unsetADDR3()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ADDR3$12, 0);
        }
    }
    
    /**
     * Gets the "CITY" element
     */
    public java.lang.String getCITY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CITY$14, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "CITY" element
     */
    public net.ofx.types.x2003.x04.AddressType xgetCITY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AddressType target = null;
            target = (net.ofx.types.x2003.x04.AddressType)get_store().find_element_user(CITY$14, 0);
            return target;
        }
    }
    
    /**
     * True if has "CITY" element
     */
    public boolean isSetCITY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(CITY$14) != 0;
        }
    }
    
    /**
     * Sets the "CITY" element
     */
    public void setCITY(java.lang.String city)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CITY$14, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CITY$14);
            }
            target.setStringValue(city);
        }
    }
    
    /**
     * Sets (as xml) the "CITY" element
     */
    public void xsetCITY(net.ofx.types.x2003.x04.AddressType city)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.AddressType target = null;
            target = (net.ofx.types.x2003.x04.AddressType)get_store().find_element_user(CITY$14, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.AddressType)get_store().add_element_user(CITY$14);
            }
            target.set(city);
        }
    }
    
    /**
     * Unsets the "CITY" element
     */
    public void unsetCITY()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(CITY$14, 0);
        }
    }
    
    /**
     * Gets the "STATE" element
     */
    public java.lang.String getSTATE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATE$16, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "STATE" element
     */
    public net.ofx.types.x2003.x04.StateType xgetSTATE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.StateType target = null;
            target = (net.ofx.types.x2003.x04.StateType)get_store().find_element_user(STATE$16, 0);
            return target;
        }
    }
    
    /**
     * True if has "STATE" element
     */
    public boolean isSetSTATE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(STATE$16) != 0;
        }
    }
    
    /**
     * Sets the "STATE" element
     */
    public void setSTATE(java.lang.String state)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATE$16, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATE$16);
            }
            target.setStringValue(state);
        }
    }
    
    /**
     * Sets (as xml) the "STATE" element
     */
    public void xsetSTATE(net.ofx.types.x2003.x04.StateType state)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.StateType target = null;
            target = (net.ofx.types.x2003.x04.StateType)get_store().find_element_user(STATE$16, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.StateType)get_store().add_element_user(STATE$16);
            }
            target.set(state);
        }
    }
    
    /**
     * Unsets the "STATE" element
     */
    public void unsetSTATE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(STATE$16, 0);
        }
    }
    
    /**
     * Gets the "POSTALCODE" element
     */
    public java.lang.String getPOSTALCODE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(POSTALCODE$18, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "POSTALCODE" element
     */
    public net.ofx.types.x2003.x04.ZipType xgetPOSTALCODE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.ZipType target = null;
            target = (net.ofx.types.x2003.x04.ZipType)get_store().find_element_user(POSTALCODE$18, 0);
            return target;
        }
    }
    
    /**
     * True if has "POSTALCODE" element
     */
    public boolean isSetPOSTALCODE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(POSTALCODE$18) != 0;
        }
    }
    
    /**
     * Sets the "POSTALCODE" element
     */
    public void setPOSTALCODE(java.lang.String postalcode)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(POSTALCODE$18, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(POSTALCODE$18);
            }
            target.setStringValue(postalcode);
        }
    }
    
    /**
     * Sets (as xml) the "POSTALCODE" element
     */
    public void xsetPOSTALCODE(net.ofx.types.x2003.x04.ZipType postalcode)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.ZipType target = null;
            target = (net.ofx.types.x2003.x04.ZipType)get_store().find_element_user(POSTALCODE$18, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.ZipType)get_store().add_element_user(POSTALCODE$18);
            }
            target.set(postalcode);
        }
    }
    
    /**
     * Unsets the "POSTALCODE" element
     */
    public void unsetPOSTALCODE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(POSTALCODE$18, 0);
        }
    }
    
    /**
     * Gets the "COUNTRYSTRING" element
     */
    public java.lang.String getCOUNTRYSTRING()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COUNTRYSTRING$20, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "COUNTRYSTRING" element
     */
    public net.ofx.types.x2003.x04.CountryStringType xgetCOUNTRYSTRING()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.CountryStringType target = null;
            target = (net.ofx.types.x2003.x04.CountryStringType)get_store().find_element_user(COUNTRYSTRING$20, 0);
            return target;
        }
    }
    
    /**
     * True if has "COUNTRYSTRING" element
     */
    public boolean isSetCOUNTRYSTRING()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(COUNTRYSTRING$20) != 0;
        }
    }
    
    /**
     * Sets the "COUNTRYSTRING" element
     */
    public void setCOUNTRYSTRING(java.lang.String countrystring)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COUNTRYSTRING$20, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COUNTRYSTRING$20);
            }
            target.setStringValue(countrystring);
        }
    }
    
    /**
     * Sets (as xml) the "COUNTRYSTRING" element
     */
    public void xsetCOUNTRYSTRING(net.ofx.types.x2003.x04.CountryStringType countrystring)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.CountryStringType target = null;
            target = (net.ofx.types.x2003.x04.CountryStringType)get_store().find_element_user(COUNTRYSTRING$20, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.CountryStringType)get_store().add_element_user(COUNTRYSTRING$20);
            }
            target.set(countrystring);
        }
    }
    
    /**
     * Unsets the "COUNTRYSTRING" element
     */
    public void unsetCOUNTRYSTRING()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(COUNTRYSTRING$20, 0);
        }
    }
}
